package kr.ac.skhu.m.util;

public class StringUtil {
	
	public static boolean isEmpty(String str){
		
		boolean result = false;
		
		if (str == null || str.length() == 0) {
		    result = true;
		} 
		
		return result;
		
	}
	
	public static String isNull(String str){
		
		if (str == null || str.length() == 0) {
			str = "";
		} 
		
		return str;
		
	}
	
}
